package org.example.simplemanagementsystem.service;

import org.example.simplemanagementsystem.pojo.Emp;
import org.example.simplemanagementsystem.pojo.EmpQueryParam;
import org.example.simplemanagementsystem.pojo.PageResult;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestParam;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Service
public interface EmpService {
    PageResult page(EmpQueryParam empQueryParam);

    void save(Emp emp);

    void deleteByIds(List<Integer> ids);

    Emp getInfo(Integer id);

    void update(Emp emp);

    List<Emp> getList();
}
